/**
 * This is my code.
 *
 * $Id$
 */
package fi.jab.esb.config.xml;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Bus</b></em>'.
 * <!-- end-user-doc -->
 *
 * <!-- begin-model-doc -->
 * 
 * 				A bus (also called "channel" by others) is a means by which Services communicate with each other (JMS, FTP, HTTP, etc).
 * 			
 * <!-- end-model-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link fi.jab.esb.config.xml.Bus#getProperty <em>Property</em>}</li>
 *   <li>{@link fi.jab.esb.config.xml.Bus#getBusid <em>Busid</em>}</li>
 * </ul>
 * </p>
 *
 * @see fi.jab.esb.config.xml.XmlPackage#getBus()
 * @model extendedMetaData="name='bus' kind='elementOnly'"
 * @generated
 */
public interface Bus extends EObject
{
  /**
   * Returns the value of the '<em><b>Property</b></em>' containment reference list.
   * The list contents are of type {@link fi.jab.esb.config.xml.PropertyType}.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * A simple name-value pair.
   * <!-- end-model-doc -->
   * @return the value of the '<em>Property</em>' containment reference list.
   * @see fi.jab.esb.config.xml.XmlPackage#getBus_Property()
   * @model containment="true"
   *        extendedMetaData="kind='element' name='property' namespace='##targetNamespace'"
   * @generated
   */
  EList<PropertyType> getProperty();

  /**
   * Returns the value of the '<em><b>Busid</b></em>' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * <!-- begin-model-doc -->
   * An id such that this bus can be referenced by Service listn.
   * <!-- end-model-doc -->
   * @return the value of the '<em>Busid</em>' attribute.
   * @see #setBusid(String)
   * @see fi.jab.esb.config.xml.XmlPackage#getBus_Busid()
   * @model dataType="org.eclipse.emf.ecore.xml.type.String" required="true"
   *        extendedMetaData="kind='attribute' name='busid'"
   * @generated
   */
  String getBusid();

  /**
   * Sets the value of the '{@link fi.jab.esb.config.xml.Bus#getBusid <em>Busid</em>}' attribute.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @param value the new value of the '<em>Busid</em>' attribute.
   * @see #getBusid()
   * @generated
   */
  void setBusid(String value);

} // Bus
